// 个人中心api管理
import reqest from "../untils/reqest";

// 获取课程列表
export function courseListApi(data) {
  return reqest({
    url: "/agency/course/courseList",
    method: "POST",
	data
  });
}
// 查看课程详情
export function courseDetailApi(id) {
  return reqest({
    url: `/agency/course/detail/${id}`,
    method: "GET",
  });
}